<?php
class Cupload extends CI_Controller {
	
	function index() {
		$this->load->model('mupload');
		if ($this->input->post('upload')) {
			$this->mupload->do_upload();
		}
		$data['hasil'] = $this->mupload->ambil();
		$this->load->view('vupload', $data);
	}
}
